package com.practice.pagehelper.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description : 人员组织关系实体类
 * @Author : xxx
 * @Version : V1.0.0
 * @Date : 2021/9/18 15:23
 */
@Data
@Accessors(chain = true)
@Table(name = "t_p_org_person")
public class PersonOrgRelEntity {
    @Id
    private String id;

    /**
     * 人员id
     */
    @Column(name = "person_id")
    private String personId;

    /**
     * 所属组织id
     */
    @Column(name = "org_id")
    private String orgId;

    @Column(name = "is_delete")
    private String isDelete = "0";

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "creator")
    private String creator;

    @Column(name = "creator_id")
    private String creatorId;

    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "modifier")
    private String modifier;

    @Column(name = "modifier_id")
    private String modifierId;
}
